#include "ShipLaserMonitor.h"

using namespace view;

ShipLaserMonitor::ShipLaserMonitor(void) : SDLProgressMonitor()
{
}

ShipLaserMonitor::ShipLaserMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipLaserMonitor::~ShipLaserMonitor(void)
{
}

void ShipLaserMonitor::update(Observable* shipLaserProperty)
{
	ShipLaserProperty* shipLaser = static_cast<ShipLaserProperty*>(shipLaserProperty);
	currentProgress = shipLaser->getProgress();
}
